package cn.touna.jss.modules.credit.mapper;


import cn.touna.jss.modules.credit.entity.CreditQueryHistoryEntity;
import cn.touna.jss.modules.credit.entity.CreditQueryHistoryEntityExample;
import cn.touna.jss.modules.credit.entity.CreditQueryHistorySimplifiedEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CreditQueryHistoryEntityMapper {

    int insertSelective(CreditQueryHistoryEntity record);

    List<CreditQueryHistorySimplifiedEntity> selectBySimplifiedExample(CreditQueryHistoryEntityExample example);

    List<CreditQueryHistoryEntity> selectByExample(CreditQueryHistoryEntityExample example);

    /**
     * 根据BizType查询数据
     * @param record
     * @return
     */
    List<CreditQueryHistoryEntity> queryList(CreditQueryHistoryEntity record);

    List<Map<String,Object>> selectMethodInvokeList(@Param("dateCreated") Date dateCreated);
}